package com.water.app.interfaces.shopping;

import com.water.app.address;

import java.util.List;

public interface addressService {
    public List<address> selectAddressByUserId(Integer userId);

    public boolean reviseAddress(address address,Integer userId);

    public boolean insertAddress(String address, int userId,String email,String name);

    public boolean deleteById(int id);

    public Integer selectAddressNumberByUserId(int userId);
}
